package com.zhuiyi.yiqingbackend.service;

import com.zhuiyi.yiqingbackend.domain.Master;
import com.zhuiyi.yiqingbackend.domain.request.MasterAddRequest;
import com.zhuiyi.yiqingbackend.domain.request.MasterUpdateRequest;
import com.zhuiyi.yiqingbackend.domain.request.MasterUpdateStatuRequest;
import com.zhuiyi.yiqingbackend.domain.response.MasterResponse;

import java.util.List;

public interface MasterService {
    List<MasterResponse> getMasters();

    boolean addMaster(MasterAddRequest request);

    boolean deleteMasterById(int id);

    MasterResponse getMasterById(int id);

    boolean updateMaster(MasterUpdateRequest request);

    boolean updateMasterStatus(MasterUpdateStatuRequest request);
}
